﻿using duia.Canteenpay.Domain.Enums;
using System;

namespace duia.Canteenpay.Domain
{
    /// <summary>
    /// 领域异常处理
    /// </summary>
    public class DomainException : Exception
    {
        public DomainException()
        { }

        public DomainException(string message)
            : base(message)
        { }

        public DomainException(string message, Exception innerException)
            : base(message, innerException)
        { }

        public DomainException(ErrorEnum error, string message, Exception innerException)
            : base(message, innerException)
        { }


    }
}
